{% extends "private_messages/base_pm.html" %}
{% load i18n %}
{% block title %}{% trans "Compose Message" %}{% endblock %}
{% block page_title %}{% trans "Compose Message" %}{% endblock %}

{% block pm_content %}
<form action="" method="post">
	{% csrf_token %}

	{% for field in form %}
		<div class="form_field_wrapper">
			{% if field.errors %}
			<div class="form_field_error">{{ field.errors }}</div>
			{% endif %}
			<div class="form_field">
				<div class="form_field_label">
					<label>{{ field.label_tag }}:</label>
				</div>
				<div class="form_field_input">
					{{ field }}
				</div> 
				<br class="clear" />
			</div>
		</div>
	{% endfor %}
		<br class="clear"/>
		<div class="form_buttons">
			<input type="submit" value={% trans "Send" %} &raquo;" class="form_button" />
		</div>
</form>
{% endblock pm_content %}